#include <stdio.h>
#include <stdlib.h>

int main(){
    struct employee{
        char id[7];
        char name[20];
        int salary;
    };
    struct employee manager = {"D123","Peter",35000};

    printf("&manager=%x\n",&manager);
    printf("&manager.id=%x\n",&manager.id);
    printf("manager.id=%x\n",manager.id);
    printf("&manager=%x\n",&manager.name);
    printf("manager=%x\n",manager.name);
    printf("&manager=%x\n\n",&manager.salary);

    printf("manager.id=%s\n",manager.id);
    printf("manager=%s\n",manager.name);
    printf("manager=%d\n\n",manager.salary);

    system("pause");
    return 0;
}